package com.goldenlight.fvms.manager.excelentity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Builder
@ExcelTarget("productCountExcelEntity")
public class ProductCountExcelEntity {
    @Excel(name = "申请单位", height = 20, width = 30, isImportField = "carApplyUnit")
    private String carApplyUnit;

    @Excel(name = "业务类型", height = 20, width = 30, isImportField = "carBussType")
    private String carBussType;

    @Excel(name = "车类型", height = 20, width = 30, isImportField = "carType",replace = { "养护生产（路网）_1", "生产生活（路网）_2","养护生产（区间）_3," ,"生产生活（区间）_4"})
    private Long carType;

    @Excel(name = "导入版本号", height = 20, width = 30, isImportField = "buildVersion")
    private String buildVersion;

    @Excel(name = "条数", height = 20, width = 30, isImportField = "count")
    private Integer count;
}
